package com.aplikata.evok.bo;

import java.util.Date;

import com.aplikata.bo.User;

/**
 * @ClassName: PatientAttachement
 * @Description: TODO
 * @author Jasenko
 * @date Sep 21, 2012 09:46:03 PM
 */
public class PatientAttachement implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;
	private DomainPatient domainPatient;
	private User creator;
	private String fileName;
	private String filePath;
	private Date createTime;
	private String description;

	public static final String FILE_NAME = "fileName";
	public static final String DESCRIPTION = "description";
	public static final String PATIENT_ID = "patient.id";
	
	public final static String QY_BY_PATIENT = "PatientAttachement.findByPatient";
	// Constructors

	/** default constructor */
	public PatientAttachement() {
	}

	/** minimal constructor */
	public PatientAttachement(DomainPatient domainPatient, User creator) {
		this.domainPatient = domainPatient;
		this.creator = creator;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getFileName() {
		return this.fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return this.filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public DomainPatient getDomainPatient() {
		return domainPatient;
	}

	public void setDomainPatient(DomainPatient domainPatient) {
		this.domainPatient = domainPatient;
	}

	public User getCreator() {
		return creator;
	}

	public void setCreator(User creator) {
		this.creator = creator;
	}
}